
<div class="Breadcrumb">
	  <div class="Breadcrumb-i">您当前所在的位置：<span><a href="<?php echo base_url($this->_site_path.'/goods');?>">商品表</a></span>&nbsp;>&nbsp;<span class="orange">列表</span> </div>               <div class="Breadcrumb-div">
       	   <ul>
           	   <li class="Breadcrumb-tj"><a href="<?php echo base_url( $this->_site_path.'/goods/add' );?>" >添加</a></li>
           	   <li class="Breadcrumb-lb"><a href="<?php echo base_url( $this->_site_path.'/goods' );?>" >列表</a></li>
           </ul>
        </div>
</div>

<?php $this->load->view_part($this->_site_path.'/goods/search')?>

<form method="post" action="<?php echo base_url($this->_site_path.'/goods/delete_all');?>">

	<table class="table table-striped table-condensed table-bordered">
		<thead>
			<tr class="table-thbg">
				<th>选择</th>
			<th>商品索引id</th>
			<th>商品名称</th>
			<th>商品分类id</th>
			<th>商品分类名称</th>
			<th>商品品牌id</th>
			<th>类型id</th>
			<th>店铺id</th>
			<th>商品规格开启状态，1开启，0关闭</th>
			<th>商品默认对应的规格id</th>
			<th>规格名称</th>
			<th>商品默认封面图片</th>
			<th>商品多图</th>
			<th>商品店铺价格</th>
			<th>商品价格区间</th>
			<th>商品货号</th>
			<th>商品上架</th>
			<th>商品浏览数</th>
			<th>商品状态，0开启，1违规下架</th>
			<th>商品推荐</th>
			<th>商品添加时间</th>
			<th>商品关键字</th>
			<th>商品描述</th>
			<th>商品详细内容</th>
			<th>商品属性</th>
			<th>商品规格</th>
			<th>颜色自定义图片</th>
			<th>发布有效期</th>
			<th>发布开始时间</th>
			<th>发布结束时间</th>
			<th>商品类型,1为全新、2为二手</th>
			<th>运费模板ID，不使用运费模板值为0</th>
			<th>平邮</th>
			<th>快递</th>
			<th>EMS</th>
			<th>商品所在地(市)</th>
			<th>商品所在地(省)</th>
			<th>商品违规下架原因</th>
			<th>评论次数</th>
			<th>售出数量</th>
			<th>团购标识(团购1/非团购0)</th>
			<th>商品运费承担方式 默认 0为买家承担 1为卖家承担</th>
			<th>添加时间</th>
			<th>修改时间</th>
			<th>状态</th>
                   <th>操作</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach( $goods_data as $single ) { ?>
			<tr>
				<td>
					<input name="ids[]" value="<?php echo $single['goods_id']; ?>" type="checkbox" />
				</td>
				<td><?php echo $single['goods_id']; ?></td>
				<td><?php echo $single['goods_name']; ?></td>
				<td><?php echo $single['gc_id']; ?></td>
				<td><?php echo $single['gc_name']; ?></td>
				<td><?php echo $single['brand_id']; ?></td>
				<td><?php echo $single['type_id']; ?></td>
				<td><?php echo $single['store_id']; ?></td>
				<td><?php echo $single['spec_open']; ?></td>
				<td><?php echo $single['spec_id']; ?></td>
				<td><?php echo $single['spec_name']; ?></td>
				<td><?php echo $single['goods_image']; ?></td>
				<td><?php echo $single['goods_image_more']; ?></td>
				<td><?php echo $single['goods_store_price']; ?></td>
				<td><?php echo $single['goods_store_price_interval']; ?></td>
				<td><?php echo $single['goods_serial']; ?></td>
				<td><?php echo $single['goods_show']; ?></td>
				<td><?php echo $single['goods_click']; ?></td>
				<td><?php echo $single['goods_state']; ?></td>
				<td><?php echo $single['goods_commend']; ?></td>
				<td><?php echo $single['goods_add_time']; ?></td>
				<td><?php echo $single['goods_keywords']; ?></td>
				<td><?php echo $single['goods_description']; ?></td>
				<td><?php echo $single['goods_body']; ?></td>
				<td><?php echo $single['goods_attr']; ?></td>
				<td><?php echo $single['goods_spec']; ?></td>
				<td><?php echo $single['goods_col_img']; ?></td>
				<td><?php echo $single['goods_indate']; ?></td>
				<td><?php echo $single['goods_starttime']; ?></td>
				<td><?php echo $single['goods_endtime']; ?></td>
				<td><?php echo $single['goods_form']; ?></td>
				<td><?php echo $single['transport_id']; ?></td>
				<td><?php echo $single['py_price']; ?></td>
				<td><?php echo $single['kd_price']; ?></td>
				<td><?php echo $single['es_price']; ?></td>
				<td><?php echo $single['city_id']; ?></td>
				<td><?php echo $single['province_id']; ?></td>
				<td><?php echo $single['goods_close_reason']; ?></td>
				<td><?php echo $single['commentnum']; ?></td>
				<td><?php echo $single['salenum']; ?></td>
				<td><?php echo $single['group_flag']; ?></td>
				<td><?php echo $single['goods_transfee_charge']; ?></td>
				<td><?php echo $single['created']; ?></td>
				<td><?php echo $single['modified']; ?></td>
				<td><?php echo $single['status']; ?></td>

				<td>
					<a href="<?php echo base_url("{$this->_site_path}/goods/view/{$single['goods_id']}"); ?>">查看</a>
					<a href="<?php echo base_url("{$this->_site_path}/goods/edit/{$single['goods_id']}"); ?>">修改</a>
					<a href="<?php echo base_url("{$this->_site_path}/goods/delete/{$single['goods_id']}"); ?>" onclick="return confirmDelete()">删除</a>
					
				</td>
			</tr>
		<?php } ?>
	</tbody>
	</table>
	<div class="li-ttle floa-Left">
		<ul>
			<li><label><input name="checkAll" type="checkbox" onclick="checkAllfuck()"/>&nbsp;全选</label></li>
			<li><label><input name="checkInverse" type="checkbox" onclick="checkInversefuck()"/>&nbsp;反选</label></li>
			<li><button type="submit"  class=" btn" onclick="return confirmDelete()"><span  class="btn-Bulkdelete">批量删除</span></button></li>
		</ul>
	</div> 
	<?php echo $pagination; ?>
</form>
